<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>数据管理</title>
<meta
	content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"
	name="viewport">
<link
	href="https://cdn.bootcss.com/bootstrap/4.0.0/css/bootstrap.min.css"
	rel="stylesheet" />
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
<script
	src="https://cdn.bootcss.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>


<script src="https://cdn.bootcss.com/vue/2.5.16/vue.min.js"></script>
<script
	src="https://cdn.bootcss.com/vue-resource/1.5.0/vue-resource.min.js"></script>
<link rel="stylesheet" type="text/css" href="vue_pagination/pagination.css" />
<script src="vue_pagination/pagination.js"></script>


</head>
<body class="hold-transition skin-red sidebar-mini">
	<div id="vueApp">
		<!-- .box-body -->
		<div class="box-header with-border">
			<h3 class="box-title">数据管理-vue分页插件demo</h3>
		</div>

		<div class="box-body">

			<!-- 数据表格 -->
			<div class="table-box">

				<!--数据列表-->
				<table id="dataList"
					class="table table-bordered table-striped table-hover dataTable">
					<thead>
						<tr>
							<th class="sorting">id</th>

							<th class="sorting">数据名称</th>
							<th class="sorting">其他数据</th>

						</tr>
					</thead>
					<tbody>
						<tr v-for="entity in list">
							<td>{{entity.id}}</td>
							<td>{{entity.value1}}</td>
							<td>{{entity.value1}}</td>
						</tr>
					</tbody>
				</table>
				<!--数据列表/-->
				<!-- 分页控件 -->

				<span style="margin: 0 auto; width: 100%; text-align: center;">
					<pagination :page-size-options="pageSizeOptions"
						:page-size="pageSize" :show-pages="showPages"
						:total-pages="totalPages" :total="total" :cur-page="curPage"
						:on-change="onChange" ref="pagination"></pagination>
				</span>
			</div>
		</div>
		<!-- 数据表格 /-->
		<!-- /.box-body -->


	</div>
</body>
<script src="vueApp.js"></script>

</html>
